package com.mikufufu.blog.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 外链拓展信息表
 */
@Data
@TableName(value = "blog_link_extra")
public class LinkExtra implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 外链id
     */
    @TableField(value = "link_id")
    @ApiModelProperty(value="外链id")
    private Integer linkId;

    /**
     * 文章标题
     */
    @TableField(value = "title")
    @ApiModelProperty(value="文章标题")
    private String title;

    /**
     * 文章地址
     */
    @TableField(value = "article_url")
    @ApiModelProperty(value="文章地址")
    private String articleUrl;

    /**
     * 封面路径
     */
    @TableField(value = "article_cover")
    @ApiModelProperty(value="封面路径")
    private String articleCover;

    /**
     * 文章简介
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="文章简介")
    private String remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="更新时间")
    private Date updateTime;
}